package com.ruoyi.receipt.domain;

import com.ruoyi.common.core.domain.entity.SysDept;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.ArrayList;
import java.util.List;

/**
 * 知识点目录管理对象 tb_knowledge_list
 * 
 * @author ruoyi
 * @date 2021-03-27
 */
public class TbKnowledgeList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 父级目录编号 */
    @Excel(name = "父级目录编号")
    private Long parentId;

    private String label;

    private int managerNum;

    public int getManagerNum() {
        return managerNum;
    }

    public void setManagerNum(int managerNum) {
        this.managerNum = managerNum;
    }



    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    /** 目录名称 */
    @Excel(name = "目录名称")
    private String listName;

    /** 审核状态 1未审核(默认) 2已审核 3驳回 */
    @Excel(name = "审核状态 1未审核(默认) 2已审核 3驳回")
    private Integer status;

    /** 删除状态 0未删除(默认) 1已删除 */
    @Excel(name = "删除状态 0未删除(默认) 1已删除")
    private Integer isDel;

    public List<TbKnowledgeList> getChildren() {
        return children;
    }

    public void setChildren(List<TbKnowledgeList> children) {
        this.children = children;
    }

    /** 子部门 */
    private List<TbKnowledgeList> children = new ArrayList<TbKnowledgeList>();

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setListName(String listName) 
    {
        this.listName = listName;
    }

    public String getListName() 
    {
        return listName;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setIsDel(Integer isDel) 
    {
        this.isDel = isDel;
    }

    public Integer getIsDel() 
    {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("listName", getListName())
            .append("status", getStatus())
            .append("isDel", getIsDel())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
